package cn.tedu.course.role.mapper;

import cn.tedu.course.role.pojo.dto.RoleQuery;
import cn.tedu.course.role.pojo.dto.RoleSaveParam;
import cn.tedu.course.role.pojo.entity.Role;
import cn.tedu.course.role.pojo.vo.RoleVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RoleMapper {
    List<RoleVO> selectRole(RoleQuery roleQuery);

    void insert(Role role);

    void update(Role role);

    void deleteRole(Long id);
}
